package GUI;

public class ForestillingTableModel {
	
	//Initializes instance variables
	private String titel, start, slut;
	private int bestilt, solgt, ledige, id;
	private byte salnummer;
	
	/**ForestillingTableModel with
	 * 
	 * @param titel
	 * @param start
	 * @param slut
	 * @param solgt
	 * @param bestilt
	 * @param ledige
	 * @param salnummer
	 * @param id
	 */
	public ForestillingTableModel(String titel, String start, String slut,
			int solgt, int bestilt, int ledige, byte salnummer, int id) 
	{
		this.titel = titel;
		this.start = start;
		this.slut = slut;
		this.bestilt = bestilt;
		this.solgt = solgt;
		this.ledige = ledige;
		this.salnummer = salnummer;
		this.id = id;
	}

	/**getTitel
	 * 
	 * @return
	 */
	public String getTitel() {
		return titel;
	}

	/**setTitel with
	 * 
	 * @param titel
	 */
	public void setTitel(String titel) {
		this.titel = titel;
	}

	/** getStart
	 * 
	 * @return
	 */
	public String getStart() {
		return start;
	}

	/**setStart with
	 * 
	 * @param start
	 */
	public void setStart(String start) {
		this.start = start;
	}

	/** getSlut
	 * 
	 * @return
	 */
	public String getSlut() {
		return slut;
	}

	/**setSlut with
	 * 
	 * @param slut
	 */
	public void setSlut(String slut) {
		this.slut = slut;
	}
	
	/**getBestilt 
	 * @return
	 */
	public int getBestilt() {
		return bestilt;
	}

	/**setBestilt with
	 * 
	 * @param bestilt
	 */
	public void setBestilt(int bestilt) {
		this.bestilt = bestilt;
	}

	/**getSolgt
	 * 
	 * @return
	 */
	public int getSolgt() {
		return solgt;
	}
	
	/** setSolgt with
	 * 
	 * @param solgt
	 */
	public void setSolgt(int solgt) {
		this.solgt = solgt;
	}

	/**getLedige
	 * 
	 * @return
	 */
	public int getLedige() {
		return ledige;
	}

	/**setLedige with
	 * 
	 * @param ledige
	 */
	public void setLedige(int ledige) {
		this.ledige = ledige;
	}

	/** getsalnummer
	 * 
	 * @return
	 */
	public byte getSalnummer() {
		return salnummer;
	}

	/**setSalNummer with
	 * 
	 * @param salnummer
	 */
	public void setSalnummer(byte salnummer) {
		this.salnummer = salnummer;
	}

	/**getId
	 * 
	 * @return
	 */
	public int getId() {
		return id;
	}

	/** setId with
	 * 
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}

}
